package bancosys.tec.security.impl.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Contexto de segurança de aplicações web.
 * 
 * @author lundberg
 */
public class WebSecurityContext {

    private final HttpServletRequest request;

    private final HttpServletResponse response;

    /**
     * Construtor
     * 
     * @param request request
     * @param response response
     */
    public WebSecurityContext(HttpServletRequest request, HttpServletResponse response) {
        this.request = request;
        this.response = response;
    }

    /**
     * @return the request
     */
    public HttpServletRequest getRequest() {
        return this.request;
    }

    /**
     * @return the response
     */
    public HttpServletResponse getResponse() {
        return this.response;
    }
}
